/**
 * 一局游戏的预定义信息
 */
export default class GameInfo {

    guideOver: number;

    /**
     * 选中的角色
     */
    roleId: number;

    /**
     * 金币
     */
    coin: number;

    /**
     * 道具数量
     */
    _propCount: number[];


    gameTime: number;



    public get propCount(): number[] {
        return this._propCount;
    }

    public set propCount(v: number[]) {
        cc.error(123);
        this._propCount = v;
    }

    constructor() {
        this.guideOver = 0;
        this.roleId = 0;
        this.coin = 1000;
        this._propCount = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
        this.gameTime = 0;
    }

}